package com.zggk.iroad.db;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.NotNull;
import org.greenrobot.greendao.annotation.Property;
import org.greenrobot.greendao.annotation.Generated;

@Entity(nameInDb = "t_czfa")
public class CzfaInfo {
    @Property(nameInDb = "id")//通过@Property()这个注解定义我外部数据库的字段名才能解决
    @Id(autoincrement = true)
    private Long id;
    private String GCXM;//类型名称
    private String GCXMID;//类型名称
    private String JSGS;//类型名称
    private String SL;//类型名称
    private String DW;//类型名称
    @NotNull
    private Long parentId;
    @Generated(hash = 2040819984)
    public CzfaInfo(Long id, String GCXM, String GCXMID, String JSGS, String SL,
            String DW, @NotNull Long parentId) {
        this.id = id;
        this.GCXM = GCXM;
        this.GCXMID = GCXMID;
        this.JSGS = JSGS;
        this.SL = SL;
        this.DW = DW;
        this.parentId = parentId;
    }
    @Generated(hash = 1069238114)
    public CzfaInfo() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getGCXM() {
        return this.GCXM;
    }
    public void setGCXM(String GCXM) {
        this.GCXM = GCXM;
    }
    public String getGCXMID() {
        return this.GCXMID;
    }
    public void setGCXMID(String GCXMID) {
        this.GCXMID = GCXMID;
    }
    public String getJSGS() {
        return this.JSGS;
    }
    public void setJSGS(String JSGS) {
        this.JSGS = JSGS;
    }
    public String getSL() {
        return this.SL;
    }
    public void setSL(String SL) {
        this.SL = SL;
    }
    public String getDW() {
        return this.DW;
    }
    public void setDW(String DW) {
        this.DW = DW;
    }
    public Long getParentId() {
        return this.parentId;
    }
    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }
}
